#include<stdio.h>

int f(void);
const int gAll=12;
int g=gAll;
int main(int argc,const char *argv[]){
    printf("in %s gAll=%d\n",__func__,gAll);//_func_表示当前函数的名
    f();
    printf("agn in %s gAll=%d\n",__func__,gAll);
    printf("agn in %s g=%d\n",__func__,g);
    return 0;
}
int f(void){
    int gAll=1;
    printf("in %s gAll=%d\n",__func__,gAll);
    gAll+=2;
    printf("agn in %s gAll=%d\n",__func__,gAll);
    return gAll;
    }